package com.wish.mapper;

import com.wish.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 * 菜单管理 Mapper 接口
 * </p>
 *
 * @author 五组
 * @since 2021-03-22
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    //列表查询
    List<SysMenu> selects();

    List<SysMenu> getList(Long id);

    List<SysMenu> getOne(Long id);

    List<SysMenu> getMenus(String username);
}
